package com.zhiyou.abstructtest;

public class Demo {

	public static void main(String[] args) {
		
		//Animal a = new Animal();
		Dog dog = new Dog();
		dog.name = "小黑";
		dog.run();
		
		Bird bird = new Bird();
		bird.run();
		
		
		Animal a1 = new Dog();
		a1.run();
		
		Animal.speak();
		
		
		
		
	}

}
